class Employee:
    empCount = 0
    def __init__(self, name, salary):
        self.name = name
        self.salary = salary
        Employee.empCount += 1
    def displayCount(self):
        print("Total Employyee:", Employee.empCount)
    def displayEmployee(self):
        print("Name :", self.name, ",Salary:", self.salary)
employee = Employee("dongxinxing", 25000)
employee.displayCount()
employee.displayEmployee()
print("========================================")
print("Employee.__doc__:", Employee.__doc__)
print("Employee.__name__", Employee.__name__)
print("Employee.__module__",Employee.__module__)
print("Employee.__bases__",Employee.__bases__)
print("Employee.__dict__",Employee.__dict__)
print("========================================")
#   Python 使用了引用计数这一简单技术来跟踪和回收垃圾
#   循环引用指的是，两个对象互相引用，但是没有其他变量引用他们
#   这种情况下，引用计数是不够用的
#   作为引用计数器的补充了一个循环垃圾收集器
#   析构函数__del__ ,在对象销毁的时候被调用



